home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / MPI_Wait.z / MPI_Wait
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MMMMPPPPIIII____WWWWAAAAIIIITTTT((((3333))))                                                        MMMMPPPPIIII____WWWWAAAAIIIITTTT((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      MMMMPPPPIIII____WWWWaaaaiiiitttt - Waits for an MPI send or receive to complete
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      C:
  13.  
  14.           #include <mpi.h>
  15.  
  16.           int MPI_Wait ( _r_e_q_u_e_s_t, _s_t_a_t_u_s )
  17.           MPI_Request  *_r_e_q_u_e_s_t;
  18.           MPI_Status   *_s_t_a_t_u_s;
  19.  
  20.  
  21.      C++:
  22.  
  23.           #include <mpi.h>
  24.  
  25.           void Request::Wait()
  26.  
  27.  
  28.      Fortran:
  29.  
  30.           INCLUDE "mpif.h" (or USE MPI)
  31.  
  32.           INTEGER _r_e_q_u_e_s_t, _s_t_a_t_u_s(MPI_STATUS_SIZE),
  33.           _i_e_r_r_o_r
  34.  
  35.           CALL MPI_WAIT(_r_e_q_u_e_s_t, _s_t_a_t_u_s(MPI_STATUS_SIZE),
  36.           _i_e_r_r_o_r)
  37.  
  38.  
  39. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
  40.      This release implements the MPI 1.2 standard, as documented by the MPI
  41.      Forum in the spring 1997 release of _M_P_I:  _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
  42.      _S_t_a_n_d_a_r_d.
  43.  
  44. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.      The MMMMPPPPIIII____WWWWaaaaiiiitttt routine waits for an MPI send or receive operation to
  46.      complete.  This routine accepts the following parameters:
  47.  
  48.      _r_e_q_u_e_s_t   Specifies the request (handle)
  49.  
  50.      _s_t_a_t_u_s    Returns the status object (status)
  51.  
  52.      _i_e_r_r_o_r    Specifies the return code value for successful completion,
  53.                which is in MPI_SUCCESS.  MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
  54.                file.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.